<template>
    <el-card shadow="always" >
        <!-- 顶部标题 -->
        <div class="chart-title">
            <slot name="chart-title"></slot>
        </div>
          <!-- 展示用户数字 -->
          <div class="chart-number">
            <slot name="chart-number"></slot>
         </div>
         <!-- 展示图形图标位置 -->
         <div class="charts">
            <slot name="charts"></slot>
         </div>
         <!-- 底部的样式 -->
         <div class="chart-footer"> 
            <slot name="chart-footer"></slot>
         </div>
    
    </el-card>
    
</template>

<script setup lang="ts">

</script>

<style scoped>
    /*顶部标题样式*/
.chart-title{
    font-size: 12px;
    color: #bbb;
}
/*用户数字的样式*/
.chart-number{
    font-size: 25px;
    font-weight: 600;
    font-style: italic;
    margin: 3px 0px;
}
/*图标位置样式*/
.charts{
    width: 100%;
    height: 80px;

    border-bottom: 1px solid #ccc;
}
.chart-footer{
    font-size: 12px;
    color: #bbb;
    margin-top: 10px;
}
</style>